package battleship;

import battleship.player.Player;
import battleship.view.Views;

public interface PluginLoop {
	String loopGetFunction();
	String loopGetDescription();
	String loopGetOptions();
	int loopExecFunction(String[] arguments, Player player); //returns 0 on succes, 1 to display help
	//others handled by errorHandler()
	boolean loopErrorHandler(int error); //true to continue false to loop
	boolean acceptArguments();
	Views[] loopSupportedViews();
}
